﻿using Microsoft.Practices.Composite.Wpf.Commands;

namespace WpfTwitterClient.Infrastructure
{
    public static class InfrastructureCommands
    {
        public static CompositeCommand AuthorizationCommand = new CompositeCommand();
        public static CompositeCommand TimelineCommand = new CompositeCommand();
        public static CompositeCommand ApplicationCloseCommand = new CompositeCommand();
        public static CompositeCommand ApplicationResetCommand = new CompositeCommand();
    }

    public class InfrastructureCommandProxy
    {
        public virtual CompositeCommand AuthorizationCommands
        {
            get { return InfrastructureCommands.AuthorizationCommand; }
        }
        public virtual CompositeCommand Timelinecommands
        {
            get { return InfrastructureCommands.TimelineCommand; }
        }
        public virtual CompositeCommand ApplicationCommands
        {
            get { return InfrastructureCommands.ApplicationCloseCommand; }
        }
        public virtual CompositeCommand ApplicationResetCommands
        {
            get { return InfrastructureCommands.ApplicationResetCommand; }
        }
    }
}
